package ar.edu.itba.pod.Legajo47342.communication.payload;

import java.util.Set;

import ar.edu.itba.pod.simul.communication.Message;
import ar.edu.itba.pod.simul.communication.payload.NewMessageResponsePayload;

public class NewMessageResponsePayloadImpl implements NewMessageResponsePayload {

	private static final long serialVersionUID = 1L;
	private Set<Message> messages;
	
	
	
	public NewMessageResponsePayloadImpl(Set<Message> messages) {
		super();
		this.messages = messages;
	}

	@Override
	public Iterable<Message> getMessages() {
		return messages;
	}

}
